import { IPSWFProcessParam } from './ipswfprocess-param';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSWFProcessParamImpl extends PSModelObjectImpl implements IPSWFProcessParam {
  get codeName(): string {
    return this.M.codeName;
  }

  get dstField(): string {
    return this.M.dstField;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get srcValue(): string {
    return this.M.srcValue;
  }

  get srcValueType(): 'SESSION' | 'APPLICATION' | 'UNIQUEID' | 'CONTEXT' | 'OPERATOR' | 'OPERATORNAME' | 'CURTIME' {
    return this.M.srcValueType;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userData(): string {
    return this.M.userData;
  }

  get userData2(): string {
    return this.M.userData2;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get cls(): string {
    return 'PSWFProcessParamImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'wf.IPSWFProcessParam') return true;
    return super.instanceof(cls);
  }
}
